package com.stormrage.entity.edu.rep;

import java.io.Serializable;

import com.stormrage.entity.edu.EduLec;

/**
 * @Title: EduLecRep.java
 * @Package com.stormrage.entity.edu.rep
 * @Description: 讲师 返回 类
 * @author www.stormragetech.com
 * @date 2016年4月8日
 * @version V1.0
 */
public class EduLecRep implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = -5373560314095310989L;

	// ------------------------------- Fields -------------------------------

	private Integer seq;

	private Integer id;

	private String lec;

	private Integer count;

	// ------------------------------- Fields -------------------------------

	public EduLecRep() {

	}

	// ------------------------------- Fields -------------------------------

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getLec() {
		return lec;
	}

	public void setLec(String lec) {
		this.lec = lec;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	// ------------------------------- Fields -------------------------------

	public static EduLecRep instance(EduLec arg0, Integer arg1, Integer arg2) {
		EduLecRep entity = new EduLecRep();
		entity.setSeq(arg1);
		entity.setId(arg0.getId());
		entity.setLec(arg0.getLec());
		entity.setCount(arg2);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : id - " + id + " lec - " + lec + " count - " + count;
	}

}
